package com.guochaojava.dao;

import com.guochaojava.model.Record;

import java.util.List;

/**
 * 比赛dao
 *
 * @author guochao
 */
public interface RecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Record record);

    Record selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Record record);

    List<Record> selectByRivalId(Integer id);

    Record read(Integer id);

    List<Record> selectByMemberId(Integer id);

    List<Record> myRecord(Integer id);

    Record selectRivalDetailById(Integer id);

    List<Record> readFlag(Integer id);

    List<Record> myRecordNew(Integer id);
}